﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// Books:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Books
	{
		public Books()
		{}
		#region Model
		private int _bookid;
		private string _bookname;
		private int? _categoryid;
		private string _author;
		private decimal? _saleprice;
		private decimal? _marketprice;
		private string _publicdate;
		private string _publisher;
		private string _isbn;
		private int? _page;
		private string _bookchapter;
		private string _summary;
		private string _detail;
		private DateTime? _createtime;
		private DateTime? _updatetime;
		private int? _isactive;
		private int? _orderno;
		private int? _ishot;
		private int? _isgood;
		private int? _ishotsale;
		private int? _salenum;
		private int? _commentnum;
		private int? _hits;
		private string _publishcount;
		private string _booksize;
		private string _pic;
		private string _layout;
		private int? _istop;
		/// <summary>
		/// 
		/// </summary>
		public int BookId
		{
			set{ _bookid=value;}
			get{return _bookid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string BookName
		{
			set{ _bookname=value;}
			get{return _bookname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? CategoryId
		{
			set{ _categoryid=value;}
			get{return _categoryid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string author
		{
			set{ _author=value;}
			get{return _author;}
		}
		/// <summary>
		/// 折扣
		/// </summary>
		public decimal? SalePrice
		{
			set{ _saleprice=value;}
			get{return _saleprice;}
		}
		/// <summary>
		/// 市场价
		/// </summary>
		public decimal? MarketPrice
		{
			set{ _marketprice=value;}
			get{return _marketprice;}
		}
		/// <summary>
		/// 出版时间
		/// </summary>
		public string PublicDate
		{
			set{ _publicdate=value;}
			get{return _publicdate;}
		}
		/// <summary>
		/// 出版社
		/// </summary>
		public string Publisher
		{
			set{ _publisher=value;}
			get{return _publisher;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ISBN
		{
			set{ _isbn=value;}
			get{return _isbn;}
		}
		/// <summary>
		/// 页数
		/// </summary>
		public int? Page
		{
			set{ _page=value;}
			get{return _page;}
		}
		/// <summary>
		/// 目录
		/// </summary>
		public string BookChapter
		{
			set{ _bookchapter=value;}
			get{return _bookchapter;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Summary
		{
			set{ _summary=value;}
			get{return _summary;}
		}
		/// <summary>
		/// 前言
		/// </summary>
		public string Detail
		{
			set{ _detail=value;}
			get{return _detail;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? UpdateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}
		/// <summary>
		/// 0无效1有效
		/// </summary>
		public int? IsActive
		{
			set{ _isactive=value;}
			get{return _isactive;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? OrderNo
		{
			set{ _orderno=value;}
			get{return _orderno;}
		}
		/// <summary>
		/// 新书推荐
		/// </summary>
		public int? IsHot
		{
			set{ _ishot=value;}
			get{return _ishot;}
		}
		/// <summary>
		/// 编辑推荐
		/// </summary>
		public int? IsGood
		{
			set{ _isgood=value;}
			get{return _isgood;}
		}
		/// <summary>
		/// 热销
		/// </summary>
		public int? IsHotSale
		{
			set{ _ishotsale=value;}
			get{return _ishotsale;}
		}
		/// <summary>
		/// 销售数量
		/// </summary>
		public int? SaleNum
		{
			set{ _salenum=value;}
			get{return _salenum;}
		}
		/// <summary>
		/// 评论数量
		/// </summary>
		public int? CommentNum
		{
			set{ _commentnum=value;}
			get{return _commentnum;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Hits
		{
			set{ _hits=value;}
			get{return _hits;}
		}
		/// <summary>
		/// 版次
		/// </summary>
		public string PublishCount
		{
			set{ _publishcount=value;}
			get{return _publishcount;}
		}
		/// <summary>
		/// 开本
		/// </summary>
		public string BookSize
		{
			set{ _booksize=value;}
			get{return _booksize;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Pic
		{
			set{ _pic=value;}
			get{return _pic;}
		}
		/// <summary>
		/// 装帧
		/// </summary>
		public string Layout
		{
			set{ _layout=value;}
			get{return _layout;}
		}
		/// <summary>
		/// 置顶
		/// </summary>
		public int? IsTop
		{
			set{ _istop=value;}
			get{return _istop;}
		}
		#endregion Model

	}
}

